<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html 	xmlns="http://www.w3.org/1999/xhtml"
		xmlns:h="http://java.sun.com/jsf/html"
		xmlns:f="http://java.sun.com/jsf/core"
		xmlns:a="http://richfaces.org/a4j" 
		xmlns:r="http://richfaces.org/rich"
		xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head>
	<title>
	
		<h:outputText value="#{msg['mex.sistema.nome']}" /> 
		<h:outputText value=" - " />
		
		<ui:insert name="title">

		</ui:insert>
	</title>
	
	<h:outputStylesheet library="css" name="Comum.css" />
	<h:outputStylesheet library="css" name="Texto.css" />
	<h:outputStylesheet library="css" name="Customizados.css" />
	
	<h:outputScript library="javascript" name="jquery.maskedinput-1.2.2.min.js" target="body" />
	
	<link href="resources/img/icon.ico" rel="shortcut icon" type="image/x-icon"/>
	
</h:head>

<h:body>

	<f:view>
	
		<div id="topPanel">
		
			<h:form>
					
				<div id="menu">
					<div id="menuItem">
						<h:commandLink styleClass="item" value="#{msg['mex.menu.ajuda']}" action="ajuda" />
					</div>
					
					<div id="menuItem">
						<h:commandLink styleClass="item" value="#{msg['mex.menu.contato']}" action="contato" />
					</div>
					
					<div id="menuItem">
						<h:commandLink styleClass="item" value="#{msg['mex.menu.clientes']}" action="clientes" />
					</div>
					
					<div id="menuItem">
						<h:commandLink styleClass="item" value="#{msg['mex.menu.entrar']}" action="entrar" />
					</div>
					
					<div id="menuItem">
						<h:commandLink styleClass="item" value="#{msg['mex.menu.cadastro']}" action="pretty:cadastro" />
					</div>
					
					<div id="menuItem">
						<h:commandLink styleClass="item" value="#{msg['mex.menu.mexpress']}" action="pretty:home"  />
					</div>
					
				</div>

				<div id="logo"></div>

				<h:commandLink styleClass="btnCadastro">
					<h:outputText class="btnTitulo" value="#{msg['mex.menu.btn.cadastre']}" />
				</h:commandLink>
				
				<h:commandLink styleClass="btnServicos">
					<h:outputText class="btnTitulo" value="#{msg['mex.menu.btn.servicos']}" />
				</h:commandLink>
				
				<h:commandLink styleClass="btnMais">
					<h:outputText class="btnTitulo" value="#{msg['mex.menu.btn.entrar']}" />
				</h:commandLink>
				
			</h:form>
			
		</div>

		<div id="content">
			<ui:insert name="content">
	    	
			</ui:insert>
		</div>
	
		<div class="space"></div>
	
		<div id="footerPanel">
			
			<div id="footerbodyPanel">
				<h:form>
					<div id="menuFooter">
						
						<div id="menuItemFooter">
							<h:commandLink styleClass="itemFooter" value="#{msg['mex.menu.mexpress']}" action="pretty:home"  />
						</div>
						
						<div id="menuItemFooter">
							<h:commandLink styleClass="itemFooter" value="#{msg['mex.menu.cadastro']}" action="pretty:cadastro" />
						</div>
						
						<div id="menuItemFooter">
							<h:commandLink styleClass="itemFooter" value="#{msg['mex.menu.entrar']}" action="entrar" />
						</div>
						
						<div id="menuItemFooter">
							<h:commandLink styleClass="itemFooter" value="#{msg['mex.menu.clientes']}" action="clientes" />
						</div>
						
						<div id="menuItemFooter">
							<h:commandLink styleClass="itemFooter" value="#{msg['mex.menu.contato']}" action="contato" />
						</div>
						
						<div id="menuItemFooter">
							<h:commandLink styleClass="itemFooter" value="#{msg['mex.menu.ajuda']}" action="ajuda" />
						</div>
						
					</div>
				</h:form>
				
				<p class="copyright">
					<h:outputText value="#{msg['mex.msg.copyright']}" />
				</p>
				
			</div>
			
		</div>

	</f:view>

</h:body>

</html>
